CPSW\Gateway\Stripe\Payment_Request_Api D

Total Complexity 179
Dependencies 6
Dependents 2
Total lines 1,023
Lines of code 703
Logical lines of code 424
Comment lines 150
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
payment_request_button()
D
23
49 172
ajax_selected_product_data()
B
37 17 68
payment_request_button_separator()
A
45 16 42
build_display_items()
A
37 13 77
get_product_data()
A
39 13 66
get_shipping_options()
A
41 12 54
ajax_add_to_cart()
A
50 9 26
is_selected_location()
A
58 9 15
calculate_shipping()
A
45 7 41
__construct()
S
48 6 31
ajax_update_shipping_option()
S
55 5 17
ajax_checkout()
S
59 4 13
get_product()
S
60 4 13
is_page_supported()
S
66 4 9
ajax_update_shipping_address()
S
54 2 20
ajax_get_cart_details()
S
57 2 17
update_shipping_method()
S
65 3 9
get_product_price()
S
68 3 7
localize_product_data()
S
71 1 6